home *** CD-ROM | disk | FTP | other *** search
- Path: u-psud.fr!usenet
- From: Laurent Pointal <pointal@lure.u-psud.fr>
- Newsgroups: comp.lang.c,comp.lang.c++,comp.os.ms-windows.programmer.misc,comp.os.msdos.programmer,comp.programming,comp.windows.ms.programmer
- Subject: Re: How to access miliseconds?
- Date: Thu, 15 Feb 1996 13:54:18 +0100
- Organization: Universite Paris-Sud, France.
- Message-ID: <31232CFA.6007@lure.u-psud.fr>
- References: <4fqh79$j4j@usenet.rpi.edu> <3121E861.3EA8@tid.es>
- NNTP-Posting-Host: cactus.lure.u-psud.fr
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0b5 (WinNT; I)
-
- Mariano wrote:
- >
- > You can use :
- >
- > UINT SetTimer (hwnd, idTimer,uTimeOut, tmprc);
- >
- > hwnd handle to the window associated with the timer (and with tmprc);
- > idTimer a nonzero timer identifier.
- > uTimeOut in mseconds,
- > tmprc is a pointer to a function to handle the timeouts of the timer.
- >
- >
- > BOOL KillTimer (hwnd, idTimer); when you finish to use the Timer.
- >
- > --
- > Mariano Garcia Ruiz (mgr@tid.es)
-
- If you get a true millisecond timing resolution with SetTimer, please, email me how you have done
- such a miracle :-).
- Honnestly, SetTimer is right to maintain a clock displaying or things like that, but it has not a
- millisecond precision.
-
- Laurent.
-
- ---------------------------------------------------
- Laurent POINTAL
- CNRS - LURE
- email: pointal@lure.u-psud.fr (work)
- lpointal@planete.net (home)
-